package com.cyq.test0618.booksystem;

public class Order {
    private int orderNum;
    private String orderDetails;
    private int orderPrice;
    private String orderTime;

    public Order() {
    }

    public Order(int orderNum, String orderDetails, int orderPrice, String orderTime) {
        this.orderNum = orderNum;
        this.orderDetails = orderDetails;
        this.orderPrice = orderPrice;
        this.orderTime = orderTime;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public String getOrderDetails() {
        return orderDetails;
    }

    public void setOrderDetails(String orderDetails) {
        this.orderDetails = orderDetails;
    }

    public int getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(int orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    @Override
    public String toString() {
        return "Order{" +
                "订单号=" + orderNum +
                ", 订单明细='" + orderDetails + '\'' +
                ", 订单总额=" + orderPrice +
                ", 订单日期='" + orderTime + '\'' +
                '}';
    }
}
